<?xml version="1.0" encoding="gb2312" ?>
<coder name="LGProto" version="1" processor="CLoginCommState" include="NetworkHelper.h;ClientFlowChart.h">
  <protocolbuffers>
    message PKG_LOGIN_REQ
    {
      required string user_name = 1;
      required string password = 2;
    }
    
    message PKG_LOGIN_ACK
    {
      required uint32 error_code = 1;
      optional uint32 gate_ip = 2;
      optional uint32 gate_port = 3;
      optional uint32 user_id = 4;
      optional uint32 token = 5;
    }
  </protocolbuffers>
  <messages>
    <message name="LOGIN_REQ" id="1" type="PKG_LOGIN_REQ" proc_fun="LoginReq" by="server"/>
    <message name="LOGIN_ACK" id="2" type="PKG_LOGIN_ACK" proc_fun="OnLoginAck" by="client"/>
  </messages>
</coder>